package com.qqt.csr.im.vo.req;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.qqt.csr.common.idempotent.RequestKeyParam;
import com.qqt.csr.common.operalog.OperaLogSchema;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * 技能组配置
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(name = "SettingSensitiveWordRuleCfgReqVO", description = "敏感词拦截规则设置")
public class SettingSensitiveWordRuleCfgReqVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 402641806428531662L;

    @Schema(description = "显示规则：0 双方显示，以星号加密；1 只发送方显示，敏感词高亮", requiredMode = Schema.RequiredMode.REQUIRED)
    @OperaLogSchema(desc = "显示规则")
    @NotNull(message = "显示规则不能为空")
    @Min(value = 0, message = "显示规则值不合法")
    @Max(value = 1, message = "显示规则值不合法")
    private Integer showType;


}